package code3;

public class TongHuaTaoCan extends TaoCan implements TongHuaFuWu{

    private String tongHuaShiChang;
    private String duanXingTiaoShu;

    public String getTongHuaShiChang() {
        return tongHuaShiChang;
    }

    public void setTongHuaShiChang(String tongHuaShiChang) {
        this.tongHuaShiChang = tongHuaShiChang;
    }

    public String getDuanXingTiaoShu() {
        return duanXingTiaoShu;
    }

    public void setDuanXingTiaoShu(String duanXingTiaoShu) {
        this.duanXingTiaoShu = duanXingTiaoShu;
    }

    public void show(){
        System.out.println("通话时长："+tongHuaShiChang);
        System.out.println("短信条数："+duanXingTiaoShu);
        System.out.println("每月资费："+getMeiYueZiFei());
    }

    public void thfw(String tongHuaShiChang, PhoneCard pc){
        System.out.println("通话套餐类实现通话服务接口");
    }
}
